package cn.tedu.rms.branch.mapper;

import cn.tedu.rms.branch.pojo.dto.BranchQuery;
import cn.tedu.rms.branch.pojo.entity.Branch;
import cn.tedu.rms.branch.pojo.vo.BranchVO;
import cn.tedu.rms.comment.pojo.dto.CommentQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BranchMapper {
    List<BranchVO> selectBranch(BranchQuery branchQuery);
    BranchVO selectById(Long id);
    void deleteById(Long id);
    void update(Branch Branch);
    void insert(Branch Branch);
    List<BranchVO> selectByContent(String content);
    BranchVO selectBranchComment(CommentQuery commentQuery);
}
